package com.mt.mtyx.common.utils.generate.generate.code;

/**
 * @author WMT
 * @Date 2023/5/26 17:27
 */
public class GenerateType<T> {

    /**
     * 参数
     */
    private String key;

    /**
     * 参数类型
     */
    private String clazz;

    /**
     * 参数备注
     */
    private String comment;

    /**
     * 简称 mybatis隐射的类型
     */
    private String simpleName;

    /**
     * 返回值 mybatis隐射的返回值类型
     */
    private String returnType;

    /**
     * 值
     */
    private T value;

    /**
     * 参数名称
     */
    private String alis;

    public GenerateType() {
    }

    public GenerateType(String key, String clazz, String comment, String simpleName, T value, String alis) {
        this.key = key;
        this.clazz = clazz;
        this.comment = comment;
        this.simpleName = simpleName;
        this.value = value;
        this.alis = alis;
    }

    public GenerateType(String key, String clazz, String comment, String simpleName, String returnType, T value, String alis) {
        this.key = key;
        this.clazz = clazz;
        this.comment = comment;
        this.simpleName = simpleName;
        this.returnType = returnType;
        this.value = value;
        this.alis = alis;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getClazz() {
        return clazz;
    }

    public void setClazz(String clazz) {
        this.clazz = clazz;
    }

    public String getSimpleName() {
        return simpleName;
    }

    public void setSimpleName(String simpleName) {
        this.simpleName = simpleName;
    }

    public String getReturnType() {
        return returnType;
    }

    public void setReturnType(String returnType) {
        this.returnType = returnType;
    }

    public T getValue() {
        return value;
    }

    public void setValue(T value) {
        this.value = value;
    }

    public String getAlis() {
        return alis;
    }

    public void setAlis(String alis) {
        this.alis = alis;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }
}
